$(function () {
    $.get(baseURL + "report/erpreport/querylist?type=store", function(r){
        if(r.code === 0){
            vm.erpReportList = r.erpReportList
        }
    });
})

var vm = new Vue({
    el:'#rrapp',
    data:{
        showList:true,
        ureportUrl:null,
        erpReportList:[]
    },
    methods: {
        showUreport: function(row) {
            window.ureportPageVm.loadData({
                reportName: row.reportName,// 名称
                reportPath: row.reportPath, //路径
            });
        },
        goBack: function () {
            vm.showList = true
        }
    },
});
